/*设置整体的框架布局*/
header,article,aside{
    width: 960px;
    margin:auto;
}

/*所有a标签和ul标签去掉原本的修饰*/
a{
    text-decoration: none;
    color: black;
}
li{
    list-style: none;
}
/*导航栏设置*/
nav{
    height: 40px;
    background-color: #2ba0d5;
    margin: 30px auto;
}
nav>ul>li{
    display: block;
    width: 100px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
}
nav>ul>li>a{
    color: white;
}
nav>ul>li:hover{
    background-color: #1d86b9;
}
nav>ul>li>a:hover{
    color: darkmagenta;
}
nav>ul{
    display: flex;
    width: 960px;
    margin: auto;
}
/*头部的搜索框和logo*/
header{
    display: flex;
    justify-content: space-between;
}
header>img{
    width: 335px;
    height: 58px;
}
header>form>input{
    border:2px solid #1d86b9;
    height: 34px;
}
header>form{
    align-self: center;
}
input[type="text"]{
    width: 377px;
    cursor:crosshair;
    background-image: url("back/inputsmall.png");
    background-repeat: no-repeat;
    background-size: 80px 34px;
}
::-webkit-input-placeholder{
    color: #1d86b9;
    padding-left: 80px;
}
input[type="text"]:focus{
    border: 2px solid darkred;
    background-color: #4dc827;
}
input[type="submit"]{
    width: 80px;
    height: 40px;
}
/*购物返还*/
article>div:nth-child(1){
    height: 50px;
    background-color: #f5fafe;
    line-height: 50px;
    border: 1px solid #ccd6df;
}
article>div>h4{
    /*font-weight: bold;*/
    font-size: 20px;
    margin-left: 50px;
}
article{
    border: 1px solid #ccd6df;
}
/*左边文字导航*/
.nav>ul>li{
    width:138px;
    height: 38px;
    border: 1px solid #ebeef3;
    line-height: 38px;
    background-color: #f4f9fd;
    text-align: center;
}
.nav>ul>li:hover{
    background-color: #00A3E5;
}
.nav>ul>li>a:hover{
    color: darkseagreen;
}
/*右边图片导航*/
.nav,.nav>div{
    display: flex;
}
.nav>div>section{
    width: 136px;height: 146px;
    text-align: center;
    line-height: 60px;
}
.nav>div{
    flex-wrap: wrap;
}
.nav>div>section>p{
    font-size: 13px;
}
.nav>div>section>p>span{
    color: red;
}
.nav>div>section>img{
    margin-top: 35px;
}
/*商家的广告投入部分*/
aside{
    margin: 15px auto;
}
aside>div{
    display: flex;
}
aside>div:nth-child(1){
    height: 50px;
    background-color: #f7faff;
    border: 1px solid #dde6ed;
    justify-content: space-between;
    align-items: center;
}
aside>div:nth-child(1)>h3{
    margin-left: 20px;
    font-size: 20px;
}
aside>div:nth-child(1)>a{
    margin-right: 20px;
    color: #00A3E5;
    font-size: 13px;
}
aside>div:nth-child(2)>section{
    width: 316px;
    height: 352px;
    border: 2px solid #d0d9e0;
}
aside section>img{
    width: 310px;
    margin: 15px 3px;
}
aside section>p{
    margin: 15px 15px;
}
aside section>p>strong{
    text-decoration:line-through;
    color: #a1a1a1;
}
aside section>p>span{
    color: #ff752d;
    font-weight: bold;
}
aside section>a{
    margin-left: 15px;
    font-size: 14px;
}
aside section a:hover{
    color: darkorchid;
}
aside hr{
    margin: 10px 15px;
    border: 1px solid #f0f0f0;
}
/*下划线的下面部分*/
aside>div:nth-child(2)>section >div{
    display: flex;
    height: 20px;
    margin: 10px 15px;
    justify-content: space-between;
    font-size: 13px;
    font-weight: lighter;
    color: grey;
}
/*底部备案号*/
footer{
    background-color: #f4f4f4;
    text-align: center;
    line-height: 50px;
}

footer>p{
    color: #999999;
    font-weight: lighter;
    font-size: 12px;
}

footer>p>a{
    font-weight: lighter;
    font-size: 15px;
}







